// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// markdown
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
// echarts
import echarts from 'echarts'
// 滚动条
import infiniteScroll from 'vue-infinite-scroll'
// 导出excel
import JsonExcel from 'vue-json-excel'

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(mavonEditor)
Vue.use(infiniteScroll)
Vue.component('downloadExcel', JsonExcel)
Vue.prototype.$echarts = echarts

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
